export const getTime = () => {
  let message = ''
  const hours = new Date().getHours()
  if (hours <= 9) {
    message = '陈书记,早上好'
  } else if (hours <= 12) {
    message = '陈书记,上午好'
  } else if (hours <= 18) {
    message = '陈书记,下午好'
  } else {
    message = '陈书记,晚上好'
  }
  return message
}
//获取当前年份
export const getYear = () => {
  const hours = new Date().getFullYear
  console.log(hours)
}
